package top.ljlgithub.api.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/4/27 16:12
 * @Version 1.0
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sp_manager")
public class User {
    @TableField("mg_id")
    private Integer id;
    private String role_name;
    @TableField("mg_name")
    private String username;
    @TableField("CREATE_TIME")
    private Timestamp create_time;
    @TableField("UPDATE_TIME")
    private Timestamp update_time;
    @TableField("mg_mobile")
    private String mobile;
    @TableField("mg_email")
    private String email;
    @TableField("mg_state")
    private boolean mg_state;
}
